



public struct StaticProperty 
{
	private const int ratio = 10000;
	private int _basics;
	private int _addBuffer;
	private int _mulBuffer;
	private int _fullMulBuffer;

	public int current
	{
		get
		{
			return (_basics * (ratio+_mulBuffer)/ratio + _addBuffer) * (ratio+_fullMulBuffer)/ratio;
		}
	}
	public int addbuffer
	{
		get
		{
			return _addBuffer;
		}
		set
		{
			_addBuffer = value;
		}
	}
	public int mulBuffer
	{
		get
		{
			return _mulBuffer;
		}
		set
		{
			_mulBuffer = value*ratio;
		}
	}
	public int fullMulBuffer
	{
		get
		{
			return _fullMulBuffer;
		}
		set
		{
			_fullMulBuffer = value*ratio;
		}
	}

	public StaticProperty(int num)
	{
		_basics = num;
		_addBuffer = 0;
		_mulBuffer = ratio;
		_fullMulBuffer = ratio;

	}
  
}